package com.books.service.comment;

import com.books.model.entity.comment.Comment;
import com.books.model.tool.CommentTool;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author 饿熊的咆哮
 * @Date 2021/10/13 16:18
 * @Version 1.0
 */
public interface ICommentService {
    List<CommentTool> findCommentByBookId(Integer bookId, Integer bookTypeId);
    void addComment(Comment comment);
    List<Comment> findCommentByPeopleId(Integer peopleId);
}
